package com.xuxueli.commontdemo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class ServiceTableMappingDTO{

    @ApiModelProperty(value = "编号")
    private Long id;

    @ApiModelProperty(value = "服务编号")
    private Long serviceId;

    @ApiModelProperty(value = "映射类型 1:主表映射 2:字表映射")
    private Integer mappingType;

    @ApiModelProperty(value = "表类型 1:输入 2:选择")
    private Integer tableType;

    @ApiModelProperty(value = "服务出参编号")
    private Long responseParamId;

    @ApiModelProperty(value = "表名称")
    private String tableName;

    @ApiModelProperty(value = "子表名称")
    private String childName;

    @ApiModelProperty(value = "表名称")
    private List<ServiceColumnMappingDTO> columnMappings;

}
